]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ci: Disallow legacy style in merge requests
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 12 Sep 2019 11:51:26 +0000 (13:51 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 12 Sep 2019 21:18:27 +0000 (23:18 +0200)
In order to transition from the current legacy style to the modern
gjs one, use the MR line-filtering we used to do on common errors
to ensure new code complies with the new style.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/716

.gitlab-ci/run-eslint.sh

index aad95f46ac0f8d19cfdb9691d6ec96fef92a55ce..8466d97c3a1cb0c4c50810058ffe3af0784cc74d 100755 (executable)
@@ -96,6 +96,6 @@ if [ -z "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" ]; then
   exit 0
 fi
 
-copy_matched_lines $OUTPUT_FINAL $LINE_CHANGES $OUTPUT_MR
+copy_matched_lines $OUTPUT_REGULAR $LINE_CHANGES $OUTPUT_MR
 cat $OUTPUT_MR
 is_empty $OUTPUT_MR